#include "MsgQueue.hpp"

int main()
{
    Server server;
    while (true)
    {
        std::string msg = "[服务器消息]:你好,客户端";
        server.Send(SERVER_MSG_TYPE, msg);
        std::string buf;
        server.Recv(CLIENT_MSG_TYPE,&buf);
        std::cout<<buf<<std::endl;
        sleep(1);
    }
    return 0;
}